<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>mapsound</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>mapsound</b> -  Plots a sound map</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>mapsound (w,dt,fmin,fmax,simpl,rate)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>dt,fmin,fmax,simpl,rate</b>
        </tt>: scalars. default values dt=0.1,fmin=100,fmax=1500,simpl=1,rate=22050;</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    Plots a sound map for a sound. It does FFT at time increments dt.
    <tt>
        <b>rate</b>
      </tt> is the sampling rate. <tt>
        <b>simpl</b>
      </tt> points are collected for
    speed reasons. <tt>
        <b>fmin</b>
      </tt> and <tt>
        <b>fmax</b>
      </tt> are used for graphic
    boundaries.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

// At first we create 0.5 seconds of sound parameters.
t=soundsec(0.5);
// Then we generate the sound.
s=sin(440*t)+sin(220*t)/2+sin(880*t)/2;
[nr,nc]=size(t);
s(nc/2:nc)=sin(330*t(nc/2:nc));
mapsound(s);
 
  </pre>
  </body>
</html>
